package factory.pizzaResource;

import factory.pizzas.*;

/**
 * Created by lenovo on 2017/12/31.
 */
public abstract class  Pizza {
    String name;
    Dough dough;
    Sauce sauce;
    Veggies veggies[];
    Cheese cheese;
    Pepperoni pepperoni;
    Clams clams;
    abstract void prepare();
    void bake(){
        System.out.println("Bake for 25 minutes at 350");
    }
    void cut(){
        System.out.println("Cutting the pizza into diagonal slices");
    }
    void box(){
        System.out.println("Place pizza in official PizzaStore box");
    }
    void setName(String name){
        this.name=name;
    }
    String getName(){
        return name;
    }
    public String toString(){
        return null;
    };
}
